package com.vil.service;

import com.vil.common.ServerResponse;
import com.vil.entity.Cars;
import com.vil.entity.Charge;

import java.util.List;

public interface CarsService {
    ServerResponse  deleteByPrimaryKey(Long id);

    ServerResponse  insertSelective(Cars record);

    ServerResponse  updateByPrimaryKeySelective(Cars record);

    ServerResponse getById(Long id);

    ServerResponse  getListByManyConditions(Integer pageIndex, Integer pageSize, Cars recode);
    //批量删除
    ServerResponse deleteMany(Long[] array);
}
